<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html>
  <head>
    <link rev="made" href="mailto:clsung@FreeBSD.org">
    <meta http-equiv="Content-Type" content='text/html; charset=utf-8' />
    <title>YASA Demo Page</title>
    <link type="text/css" rel="stylesheet" href="/css/default.css">
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-106713-2");
pageTracker._trackPageview();
</script>
  </head>

  <form action="/demo" method="post">
  <body>
    <h1>YASA: Yet Another Suffix Array</h1>

    <h2>Demo</h2>

      <p>Just put text into textbox, then click on "Run It".</p>

    <h2>Input Box</h2>
    Encoding:
    <input type="radio" name="utf8" value="true" checked />UTF-8
    <input type="radio" name="utf8" value="false" />ASCII <br />
    Minimum length:
    <input type="text" name="min" value="{{min}}" maxlength="4" size="4" /> <br />
    Minimum frequency:
    <input type="text" name="freq" value="{{freq}}" maxlength="4" size="4" /> <br />
    <input name="clicker" value="run" type="submit" />
    <hr />

    <textarea name="inbox" wrap="virtual" rows="24" cols="60">{{inbox}}</textarea>

    {% if result %}
    <h2>Output Box</h2>
    <textarea name="outbox" rows="30" cols="60">{{result}}</textarea>
    {% endif %}
    
    <hr />

    <address>
      clsung@FreeBSD.org
    </address>
  </body>
  </form>
</html>

